home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 12⁄8⁄89 / MF&Notif ƒ / Notification.p < prev   
Encoding:
Text File  |  1989-04-24  |  1015 b   |  46 lines  |  [TEXT/PJMM]

  1. {}
  2. {Created: Tuesday, August 2, 1988 at 8:19 AM}
  3. {    Notification.p}
  4. {    Pascal Interface to the Macintosh Libraries}
  5. {}
  6. {    Copyright Apple Computer, Inc.  1988}
  7. {    All rights reserved}
  8. {}
  9.  
  10.  
  11. UNIT Notification;
  12. INTERFACE
  13.  
  14.     CONST
  15.         nmType = 8;
  16.  
  17.  
  18.     TYPE
  19.  
  20.         NMRec = RECORD
  21.                 qLink: QElemPtr;        {next queue entry}
  22.                 qType: INTEGER;         {queue type -- ORD(nmType) = 8}
  23.                 nmFlags: INTEGER;       {reserved}
  24.                 nmPrivate: LONGINT;     {reserved}
  25.                 nmReserved: INTEGER;    {reserved}
  26.                 nmMark: INTEGER;        {item to mark in Apple menu}
  27.                 nmSIcon: Handle;        {handle to small icon}
  28.                 nmSound: Handle;        {handle to sound record}
  29.                 nmStr: StringPtr;       {string to appear in alert}
  30.                 nmResp: ProcPtr;        {pointer to response routine}
  31.                 nmRefCon: LONGINT;      {for application use}
  32.             END;
  33.  
  34.  
  35.  
  36.     FUNCTION NMInstall (nmReqPtr: QElemPtr): OSErr;
  37.     INLINE
  38.         $205F, $A05E, $3E80;
  39.     FUNCTION NMRemove (nmReqPtr: QElemPtr): OSErr;
  40.     INLINE
  41.         $205F, $A05F, $3E80;
  42.  
  43.  
  44. IMPLEMENTATION
  45.  
  46. END.